﻿using System;

namespace MvcExtensions.Attributes
{
    [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
    public sealed class ServiceLookupAttribute : Attribute
    {
        public Type LookupType { get; set; }

        public string MethodName { get; set; }
    }

    [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
    public class LookupTextAttribute : Attribute
    {
        public string LookupIdPropertyName { get; set; }
    }

}
